package com.glls.sbdemo10.service.impl;

import com.glls.sbdemo10.mapper.UserMapper;
import com.glls.sbdemo10.pojo.User;
import com.glls.sbdemo10.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @date 2023/5/11
 * @desc
 */
@Service("userService")
public class UserServiceImpl implements UserService {


    @Autowired
    private UserMapper userMapper;

    @Override
    public User login(String name, String password) {
        return userMapper.login(name,password);
    }
}
